name := "ueditor"

version := "1.0"

scalaVersion := "2.11.2"

resolvers ++= Seq(
"oschina-maven" at "http://maven.oschina.net/content/groups/public/",
"small-maven" at "http://42.120.5.18:9081/nexus/content/groups/public/",
  "snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
  "releases" at "http://oss.sonatype.org/content/repositories/releases")



scalacOptions ++= Seq("-encoding", "UTF-8", "-feature", "-unchecked", "-deprecation", "-target:jvm-1.7", "-language:postfixOps", "-language:implicitConversions", "-Xlog-reflective-calls", "-Ywarn-adapted-args")

javacOptions ++= Seq("-encoding", "UTF-8", "-source", "1.7", "-target", "1.7")

//EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource

//EclipseKeys.executionEnvironment := Some(EclipseExecutionEnvironment.JavaSE17)

unmanagedResourceDirectories in Compile <+= (baseDirectory) {_ / "src/main/webapp"}

jetty(port=9001)

libraryDependencies ++= {
  val liftVersion = "2.6-RC1"
  val logbackVersion = "1.0.13"
  Seq(
    "net.liftweb" %% "lift-webkit" % liftVersion % "compile",
    "net.liftweb" %% "lift-mapper" % liftVersion % "compile",
    "net.liftmodules"   %% "lift-jquery-module_2.6" % "2.8",
    "javax.servlet" % "servlet-api" % "2.5" % "provided->default",
    "org.eclipse.jetty" %  "jetty-webapp" % "9.1.0.v20131115" % "container",
    "org.eclipse.jetty" %  "jetty-plus"   % "9.1.0.v20131115" % "container",
    "org.eclipse.jetty" % "jetty-jsp" % "9.1.0.v20131115" % "container",
    "ch.qos.logback" % "logback-classic" % logbackVersion
  )
}